package com.ds.vfs.index;

import com.ds.common.Condition;
import com.ds.config.ListResultModel;
import com.ds.config.ResultModel;
import com.ds.index.config.JLucene;

import java.util.List;

public interface VFSIndexService {

    public <T extends  JLucene>ResultModel<T> addIndex(T luceneBean);

    public ResultModel<Boolean> deleteIndex(Condition<FileIndexEnmu, FileIndex> condition);

    public ListResultModel<List<FileIndex>> search(Condition<FileIndexEnmu, FileIndex> condition);

}
